//
//  NSString+WordSize.h
//  digital_robot_demo
//
//  Created by xskj on 2024/8/29.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (WordSize)



- (CGFloat)calculateWidth:(UIFont *)fontName withHeight:(CGFloat)height;


- (CGFloat)calculateHeight:(UIFont *)fontName withWidth:(CGFloat)width;


@end

NS_ASSUME_NONNULL_END
